<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="Mosaddek">
    <meta name="keyword" content="FlatLab, Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina">
    <link rel="shortcut icon" href="img/favicon.html">

    <title>Profile</title>

    <!-- Bootstrap core CSS -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/bootstrap-reset.css" rel="stylesheet">
    <!--external css-->
    <link href="assets/font-awesome/css/font-awesome.css" rel="stylesheet"/>
    <!-- Custom styles for this template -->
    <link href="css/style.css" rel="stylesheet">
    <link href="css/style-responsive.css" rel="stylesheet"/>

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 tooltipss and media queries -->
    <!--[if lt IE 9]>
    <script src="js/html5shiv.js"></script>
    <script src="js/respond.min.js"></script>
    <![endif]-->
</head>

<body>

<section id="container" class="">
    <!--header start-->
    <div id="header">

    </div>
    <!--main content start-->
    <section id="main-content">
        <section class="wrapper">
            <!-- page start-->
            <div class="row">
                <aside class="profile-nav col-lg-3">
                    <section class="panel">
                        <div class="user-heading round">
                            <a href="#">
                                <img :src='"http://1.116.220.143:9999/"+user.img' alt="" id="imgs">
                            </a>
                            <div style="position: relative;">
                                <form enctype="multipart/form-data" method="post" id="imgForm">
                                    <button style="width: 100px;height: 30px;background-color: #41cac0;color: white;border: none;border-radius: 10px;">
                                        更换图片
                                    </button>
                                    <input type="file" id="file" name="file" accept="image/*"
                                           style="position: absolute;left: 0;top: 0;opacity: 0;" @change="updateImg($event)">
                                </form>
                            </div>
                            <h1>{{user.userName}}</h1>
                        </div>

                        <ul class="nav nav-pills nav-stacked">
                            <li class="active"><a href="userInfo.html"> <i class="icon-user"></i> 基本信息</a></li>
                            <li><a href="userInfoModify.html"> <i class="icon-calendar"></i> 修改信息</a></li>
                            <li><a href="userPwdModify.html"> <i class="icon-edit"></i>密码修改</a></li>
                            <li><a href="userInfoPaiban.html"> <i class="icon-edit"></i>查看本月排班</a></li>

                        </ul>

                    </section>
                </aside>
                <aside class="profile-info col-lg-9">
                    <section class="panel">
                        <div class="bio-graph-heading">
                            基本信息
                        </div>
                        <div class="panel-body bio-graph-info">
                            <div class="row">
                                <div class="bio-row">
                                    <p><span>姓名</span>: {{user.userName}}</p>
                                </div>
                                <div class="bio-row">
                                    <p><span>住址 </span>: {{user.address}}</p>
                                </div>
                                <div class="bio-row">
                                    <p><span>性别</span>: {{user.sex}}</p>
                                </div>
                                <div class="bio-row">
                                    <p><span>职位 </span>: {{user.post}}</p>
                                </div>
                                <div class="bio-row">
                                    <p><span>电话 </span>: {{user.phone}}</p>
                                </div>
                                <div class="bio-row">
                                    <p><span>工号 </span>: {{user.jobNumber}}</p>
                                </div>
                                <div class="bio-row">
                                    <p><span>紧急联系人电话： </span>: {{user.keyContactsphone}}</p>
                                </div>
                                <div class="bio-row">
                                    <p><span>部门 </span>: {{user.departmentName}}</p>
                                </div>
                            </div>
                        </div>
                    </section>
                </aside>
            </div>

            <!-- page end-->
        </section>
    </section>
    <!--main content end-->
</section>

<!-- js placed at the end of the document so the pages load faster -->
<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.scrollTo.min.js"></script>
<script src="js/jquery.nicescroll.js" type="text/javascript"></script>
<script src="assets/jquery-knob/js/jquery.knob.js"></script>
<script src="js/vue.js" type="text/javascript" charset="utf-8"></script>
<script src="js/axios.js"></script>
<script src="localjs/userinfo.js"></script>
<!--common script for all pages-->
<script src="js/common-scripts.js"></script>

<script>

    //knob
    $(".knob").knob();

</script>


</body>
</html>
